package com.example.xm.exception;

public class SerceiceException extends RuntimeException{
    private Integer ServiceCode;
    public SerceiceException(Integer serviceCode,String message) {
        super(message);
        this.ServiceCode=serviceCode;
    }

    public Integer getServiceCode() {
        return ServiceCode;
    }

    @Override
    public String toString() {
        return "ServeiceException{" +
                "ServiceCode=" + ServiceCode +
                '}';
    }
}
